package model

import "gorm.io/gorm"

type User struct {
	gorm.Model
	Mobile   string `gorm:"type:char(11)"`
	Password string `gorm:"type:char(32)"`
	IdCard   string `gorm:"type:char(18)"`
	RealName string `gorm:"type:varchar(20)"`
}
type Position struct {
	gorm.Model
	Name  string `gorm:"type:varchar(20)"`
	Class string `gorm:"type:varchar(32)"`
	Add   string `gorm:"type:varchar(32)"`
}
